/*
 * @Author: TC
 * @Date: 2025-06-12 20:24:28
 * @Last Modified by: TC
 * @Last Modified time: 2025-06-20 17:47:36
 */

import { Node, Vec3 } from "cc";
import { IPoolItemData } from "db://assets/FrameWork/Common/BaseInterface";
import { PoolUnit } from "db://assets/FrameWork/Module/Pool/PoolUnit";
import { BulletMove } from "./BulletMove";
import { BulletBase } from "./BulletBase";

/**
 * 子弹相关接口
 */
export namespace nsBulletInterface {
    export interface IBullet extends IPoolItemData {
        cfg: CfgInterface.IBullet; //子弹配置
    }

    export interface IBulletPath {
        nodeBullet: Node; //子弹节点
        bullet: BulletBase; //子弹组件
        initTartetPos: Vec3; //初始目标位置
        bulletMove: BulletMove; //移动组件
        index: number; //当次子弹索引
    }
}
